import React, { useState } from 'react'
import { SwapOutlined } from '@ant-design/icons';
export default () => {
    const [language, toggleLanguage] = useState({
        source: 'en',
        target: 'zh'
    })
    return (
        <div>
            <header>
                <div>{language.source}</div>
                <SwapOutlined />
                <div>{language.target}</div>
            </header>
        </div>
    )
}